concatenatePaths

fun concatenatePaths(basepath: String?, relativePath: String?): String

Combine the given base path and the given relative path, either or both of which may be empty. This is a basic concatenation with a slash in between non-empty paths. It does not handle parent path references such as ".."